<?php $this->load->view('admins/header'); ?>
<?php $this->load->view('admins/menu'); ?>
<div class="container conter">
   <?php $this->load->view('admins/topic/menu'); ?>
    <div class="body">
        <div class="main">
            <table>
                <tr>
                    <th>ID</th>
                    <th>名称</th>
                    <th>发布时间</th>
                    <th>操作</th>
                </tr>
                <?php foreach($answers as $aw): ?>
                <tr>
                    <td><?php echo $aw['answers_id'] ?></td>
                    <td><?php echo $aw['answers_title'] ?></td>
                    <td><?php echo date('Y-m-d H:i:s', $aw['answers_cdtime']); ?></td>
                    <td><?php echo anchor('admins/answers/delete/'.$aw['answers_id'], '删除'); ?></td>
                </tr>
                <?php endforeach; ?>
            </table>
            <p class="pages"><?php echo $this->pagination->create_links(); ?></p>
        </div>
    </div>
</div>
<?php $this->load->view('admins/footer'); ?>